<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>译林高中英语单词选选看</title>
    <style>
        body, html {
            height: 100%;
            margin: 0;
            font-family: Arial, sans-serif;
            text-align: center;
            background-color: #006400; /* 深绿色 */
            color: white; /* 白色文字 */
        }
        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 100, 0, 0.8); /* 深绿色，带透明度 */
            display: flex;
            justify-content: center;
            align-items: center;
        }
        table {
            margin: auto;
            background-color: #006400; /* 深绿色 */
            z-index: 10;
            position: relative;
        }
        td {
            border: 1px solid black;
            padding: 10px;
            color: white; /* 白色文字 */
        }
        a {
            color: white; /* 链接文字为白色 */
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
        }
        .content {
            position: relative;
            z-index: 10;
        }
        .footer {
            position: fixed;
            bottom: 0;
            width: 100%;
            background-color: #006400; /* 深绿色 */
            padding: 10px;
            color: white; /* 白色文字 */
            text-align: center;
        }
    </style>
</head>
<body>
    <div class="content">
        <h1>译林高中英语单词选选看</h1>
        <div>
            <input type="text" id="regCodeInput" placeholder="请输入注册码">
            <button onclick="validateCode()">提交</button>
        </div>
        <p>湖南省临武县第一中学融合课题组</p>
        <p>微信号公众号：熊猫李English工作室李国保</p>
    </div>
    <div class="overlay">
        <table id="wordTable">
            <tr>
                <td><a href="b1u1.html" class="link">b1u1</a></td>
                <td><a href="b1u2.html" class="link">b1u2</a></td>
                <td><a href="b1u3.html" class="link">b1u3</a></td>
                <td><a href="b1u4.html" class="link">b1u4</a></td>
            </tr>
            <tr>
                <td><a href="b2u1.html" class="link">b2u1</a></td>
                <td><a href="b2u2.html" class="link">b2u2</a></td>
                <td><a href="b2u3.html" class="link">b2u3</a></td>
                <td><a href="b2u4.html" class="link">b2u4</a></td>
            </tr>
            <tr>
                <td><a href="b3u1.html" class="link">b3u1</a></td>
                <td><a href="b3u2.html" class="link">b3u2</a></td>
                <td><a href="b3u3.html" class="link">b3u3</a></td>
                <td><a href="b3u4.html" class="link">b3u4</a></td>
            </tr>
            <tr>
                <td><a href="x1u1.html" class="link">x1u1</a></td>
                <td><a href="x1u2.html" class="link">x1u2</a></td>
                <td><a href="x1u3.html" class="link">x1u3</a></td>
                <td><a href="x1u4.html" class="link">x1u4</a></td>
            </tr>
            <tr>
                <td><a href="x2u1.html" class="link">x2u1</a></td>
                <td><a href="x2u2.html" class="link">x2u2</a></td>
                <td><a href="x2u3.html" class="link">x2u3</a></td>
                <td><a href="x2u4.html" class="link">x2u4</a></td>
            </tr>
            <tr>
                <td><a href="x3u1.html" class="link">x3u1</a></td>
                <td><a href="x3u2.html" class="link">x3u2</a></td>
                <td><a href="x3u3.html" class="link">x3u3</a></td>
                <td><a href="x3u4.html" class="link">x3u4</a></td>
            </tr>
            <tr>
                <td><a href="x4u1.html" class="link">x4u1</a></td>
                <td><a href="x4u2.html" class="link">x4u2</a></td>
                <td><a href="x4u3.html" class="link">x4u3</a></td>
                <td><a href="x4u4.html" class="link">x4u4</a></td>
            </tr>
        </table>
    </div>
    <div class="footer">
        网页浏览<span id="viewCount"></span>次
    </div>
    <script>
        const validCodes = [
            'S1IE3F', 'KQMZP2', 'EOD098', '0RYFI5', 'YSPERH', 'P7W5B4', 'J2M94G', '1RP9TB', '6KMG5W', 'U1E3YX', 
            'FFUH1B', 'GRV43G', '9L87VT', 'S1ONVS', 'RXHYFT', 'WD02YU', 'VQES3J', 'SPH2BE', 'Q5NWMB', 'HF9BM2', 
            'ANVLCM', 'HYDHKS', 'LGTL6W', 'UFN4V0', 'E2YF0C', 'K9EO3F', '5X2KCH', 'YWNM8V', 'E3Y6LS', 'BKDYL9', 
            '7PGYTD', '5ASBOW', 'JWB8ZX', 'COZBHR', 'O1KCXE', '00CHMR', 'TLFLQ3', 'MUL7GZ', 'FQCUZG', 'LE9BH3', 
            '475ZBL', 'D67CAW', '1Z0EF7', 'EV5VGJ', 'K32UDO', 'LJKPRQ', '311GPM', 'RNZR5D', '9JMSK9', 'ERROVF', 
            'OW8LVM', '4ZQFY1', 'F0HVZE', 'L2EQKD', 'U21NRL', 'WVWVYF', 'AOUAQE', '4X28L5', 'T2WXVZ', 'BKBPTR', 
            'UPBY5E', '5UKSMW', '5UOH6Q', 'BBGVBS', 'VG8DJJ', 'VFHS2Q', 'U17ER1', 'XXEHNP', 'RCB58A', 'DM9TZO', 
            'PFV1VO', 'GEQJJ0', '1987Z9', 'FPFBVJ', 'ZNBLKR', 'SQYQ8W', 'CDQZHH', 'HC9SEJ', 'JVJDXF', 'BNAPSI', 
            '8RXHI5', '7YK856', 'QBLSX5', '3XOP63', 'A5IM4I', 'HOGK0Y', 'CRD6ZW', '2R60ZC', 'HHRYYA', 'W1PNO1', 
            'AJF6ZS', 'JH9OEA', 'CXLMQK', 'QIKTSL', 'QIHPR3', 'H8NWSF', 'EAI442', 'MR3GVL', 'CP4RCC', '576X5Y',
            'XN73MD', 'PL2JKI', 'A5Q7UJ', 'V9L6BR', 'FD0WQP', 'SH8NVM', 'J4K2TX', 'GQ0RZH', 'Y7L3NB', 'P8M2SD',
            'R4J5KC', 'X2V9NH', 'Q3F6LP', 'D1M7VR', 'W5B8GT', 'U4C9MK', 'O2N3PH', 'T6V8LB', 'I3K5JQ', 'S7F4MR',
            'H1W8GL', 'K2V6NP', 'M3T9QX', 'J5C7FR', 'N8L4KP', 'X1B6GT', 'F2M3JQ', 'P9V7RL', 'W4N8LH', 'Q6K5MD',
            'G1T9FR', 'Y2C3LP', 'S8V6NP', 'D4M7QX', 'K3B9GT', 'U1F2JR', 'T5N8LH', 'H6L4KP', 'I7M3JQ', 'R9V5MD',
            'O2K6NP', 'J8T1FR', 'L3C9LP', 'P4V7QR', 'Q6F2JR', 'X9N8LH', 'G1L4KP', 'M7B3JQ', 'S5V9MD', 'D2K6NP',
            'W3T1FR', 'Y8C9LP', 'F4M7QR', 'K6F2JR', 'R9L8LH', 'N1K4KP', 'I2B3JQ', 'O5V7MD', 'T6N9NP', 'G3T1FR',
            'J8C9LP', 'L4M7QR', 'X2F2JR', 'D9L8LH', 'P1K4KP', 'S3B3JQ', 'M5V7MD', 'Y6N9NP', 'K3T1FR', 'H8C9LP',
            'R4M7QR', 'Q2F2JR', 'G9L8LH', 'J1K4KP', 'O3B3JQ', 'T5V7MD', 'W6N9NP', 'L3T1FR', 'F8C9LP', 'S4M7QR',
            'P2F2JR', 'Y9L8LH', 'N1K4KP', 'K3B3JQ', 'D5V7MD', 'G6N9NP', 'M3T1FR', 'J8C9LP', 'Q4M7QR', 'I2F2JR',
            'O9L8LH', 'R1K4KP', 'S3B3JQ', 'T5V7MD', 'W6N9NP', 'L3T1FR', 'F8C9LP', 'K4M7QR', 'G2F2JR', 'Y9L8LH',
            'D1K4KP', 'M3B3JQ', 'P5V7MD', 'N6N9NP', 'J3T1FR', 'R8C9LP', 'Q4M7QR', 'I2F2JR', 'S9L8LH', 'K1K4KP',
            'G3B3JQ', 'T5V7MD', 'O6N9NP', 'W3T1FR', 'Y8C9LP', 'L4M7QR', 'F2F2JR', 'N9L8LH', 'P1K4KP', 'D3B3JQ',
            'M5V7MD', 'J6N9NP', 'R3T1FR', 'Q8C9LP', 'S4M7QR', 'I2F2JR', 'K9L8LH', 'G1K4KP', 'O3B3JQ', 'W5V7MD',
            'T6N9NP', 'L3T1FR', 'F8C9LP', 'D4M7QR', 'P2F2JR', 'J9L8LH', 'N1K4KP', 'M3B3JQ', 'Q5V7MD', 'S6N9NP',
            'Y3T1FR', 'K8C9LP', 'G4M7QR', 'R2F2JR', 'O9L8LH', 'I1K4KP', 'W3B3JQ', 'T5V7MD', 'D6N9NP', 'L3T1FR',
            'N8C9LP', 'P4M7QR', 'F2F2JR', 'K9L8LH', 'J1K4KP', 'S3B3JQ', 'G5V7MD', 'Q6N9NP', 'M3T1FR', 'Y8C9LP',
            'R4M7QR', 'O2F2JR', 'D9L8LH', 'W1K4KP', 'T3B3JQ', 'L5V7MD', 'F6N9NP', 'J3T1FR', 'K8C9LP', 'G4M7QR',
            'S2F2JR', 'P9L8LH', 'N1K4KP', 'Q3B3JQ', 'R5V7MD', 'I6N9NP', 'Y3T1FR', 'W8C9LP', 'T4M7QR', 'D2F2JR',
            'K9L8LH', 'O1K4KP', 'M3B3JQ', 'G5V7MD', 'S6N9NP', 'P3T1FR', 'J8C9LP', 'R4M7QR', 'Q2F2JR', 'N9L8LH'
        ];

        // 验证注册码函数
        function validateCode() {
            const inputCode = document.getElementById('regCodeInput').value;
            if (validCodes.includes(inputCode)) {
                document.querySelectorAll('.link').forEach(link => {
                    link.style.pointerEvents = 'auto';
                    link.style.color = 'white';
                });
                alert('注册码正确，可以访问链接');
            } else {
                document.querySelectorAll('.link').forEach(link => {
                    link.style.pointerEvents = 'none';
                    link.style.color = 'gray';
                });
                alert('注册码错误，请联系作者索要注册码');
            }
        }

        // 初始化页面时禁用链接
        document.addEventListener('DOMContentLoaded', () => {
            document.querySelectorAll('.link').forEach(link => {
                link.style.pointerEvents = 'none';
                link.style.color = 'gray';
            });

            // 计数功能（仅用于展示，实际需要服务器支持）
            let viewCount = localStorage.getItem('viewCount') || 0;
            viewCount++;
            localStorage.setItem('viewCount', viewCount);
            document.getElementById('viewCount').textContent = viewCount;
        });
    </script>
</body>
</html>
